﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class WMSStockInOutInfoDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class WMSStockInOutInfoRequestDto
    {
      
        /// <summary>
        /// 描述 : 来源单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "source_no")]
        public string source_no { get; set; }
        /// <summary>
        /// 描述 : 供应商代码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "supplier_code")]
        public string supplier_code { get; set; }

        /// <summary>
        /// 描述 : 插入时间 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "supplier_code")]
        public string  in_datetime { get; set; }


    }


    /// <summary>
    /// 返回JSON
    /// </summary>
    public class WMSStockInOutInfoResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public string code { get; set; }

        /// <summary>
        /// 描述 : 返回错误明细 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "status")]
        public string status { get; set; }
        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "rows")]

        public List<WMSStockInOutInfoResponseData> data { get; set; }

    }
    public class WMSStockInOutInfoResponseData
    {
        /// <summary>
        /// 描述 :  来源单号
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "source_no")]
        public string source_no { get; set; }

        /// <summary>
        /// 描述 : 供应商代码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "supplier_code")]
        public string supplier_code { get; set; }


        /// <summary>
        /// 描述 : 供应商名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "supplier_name")]
        public string supplier_name { get; set; }


        /// <summary>
        /// 描述 : 目标仓库编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "in_warehouse_code")]
        public string in_warehouse_code { get; set; }


        /// <summary>
        /// 描述 : 目标仓库名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "in_warehouse_name")]
        public string in_warehouse_name { get; set; }


        /// <summary>
        /// 描述 : 发出仓库编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "out_warehouse_code")]
        public string out_warehouse_code { get; set; }

        /// <summary>
        /// 描述 : 发出仓库名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "out_warehouse_name")]
        public string out_warehouse_name { get; set; }
        /// <summary>
        /// 描述 : 插入时间 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "create_time")]
        public DateTime? create_time { get; set; }
        /// <summary>
        /// 描述 : 插入时间 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "in_datetime")]
        public DateTime? in_datetime { get; set; }
        /// <summary>
        /// 描述 : 插入单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "is_push_no")]
        public string is_push_no { get; set; }

        /// <summary>
        /// 描述 : 数量 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_amount")]
        public double? material_amount { get; set; }








    }

}
